#ifndef XSAN_EXTENT_H
#define XSAN_EXTENT_H

#include "xsan_types.h"
#include <stdint.h>

#ifdef __cplusplus
extern "C" {
#endif

/**
 * @brief Structure representing a physical extent on disk
 */
typedef struct xsan_extent {
    xsan_disk_id_t disk_id;         /* 磁盘ID */
    uint64_t start_block;           /* 起始块号 */
    uint64_t num_blocks;            /* 块数量 */
    uint64_t block_size_bytes;      /* 块大小（字节） */
} xsan_extent_t;

#ifdef __cplusplus
}
#endif

#endif // XSAN_EXTENT_H 